Skip to content

DATAMONGO-2314 - Fix query by example on nested properties. #771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

christophstrobl
Copy link
Member

This fix allows using Critieria.alike on nested properties.

new Criteria("nested").alike(Example.of(probe, matching().withIgnorePaths("_class"))));

This fix allows using alike on nested properties.

new Criteria("nested").alike(Example.of(probe, matching().withIgnorePaths("_class"))));
Favor assertj over hamcrest.
mp911de pushed a commit that referenced this pull request Jul 4, 2019
This fix allows using alike on nested properties.

new Criteria("nested").alike(Example.of(probe, matching().withIgnorePaths("_class"))));

Switch tests to AssertJ.

Original pull request: #771.
mp911de added a commit that referenced this pull request Jul 4, 2019
Reformat code. Remove unnecessary warning suppressions. Switch to diamond syntax.

Original pull request: #771.
mp911de pushed a commit that referenced this pull request Jul 4, 2019
This fix allows using alike on nested properties.

new Criteria("nested").alike(Example.of(probe, matching().withIgnorePaths("_class"))));

Switch tests to AssertJ.

Original pull request: #771.
mp911de added a commit that referenced this pull request Jul 4, 2019
Reformat code. Remove unnecessary warning suppressions. Switch to diamond syntax.

Original pull request: #771.
@mp911de
Copy link
Member

mp911de commented Jul 4, 2019

That's merged, polished, and backported now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants